package com.meng.basic;

import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import java.util.Set;

public class EntrySetTest {

	public static void main(String[] args) {
		Map m = new HashMap();
		m.put("a", "aaa");
		m.put("b", "bbb");

		Set s = m.entrySet();
//		Map.Entry<K, V>
		Iterator it = s.iterator();
		while (it.hasNext()) {
			Object o = it.next();
			System.out.println(o.getClass());
		}

		System.out.println(1111);
	}
}
